package org.yzh.web.mapper;

import org.springframework.stereotype.Repository;
import org.yzh.web.model.entity.AlarmCountDO;
import org.yzh.web.model.vo.*;

import java.util.List;

/**
 * @author lsj
 * @date 2021/1/16 18:39
 */
@Repository
public interface AlarmCountMapper {

    List<AlarmCountDO> find(AlarmCountQuery query);

    int batchInsert(List<AlarmCountDO> records);

    int update(AlarmCountDO record);

    List<AlarmCount>findAlarmGroupCount(AlarmCountQuery query);

    List<MileageAlarm>findMileageAlarm(DateTimeQuery query);

    AlarmGroup findAlarmStatistical(AlarmCountQuery query);

}
